#include<stdio.h>
int main()
{
    int num=1,day,total;
    for(day=1;day<=9;day++)
    {
        num=(num+1)*2;
    }
    printf("%d\n",num);
}